package com.learn.core.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName LGroupingUser
 * @date 2021.05.27 09:26
 * @describe 用户分组
 */
@TableName("l_grouping_user")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="LGroupingUser对象", description="用户分组")
public class LGroupingUser implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "grouping_user_id", type = IdType.AUTO)
    private Integer groupingUserId;

    @ApiModelProperty(value = "分组id")
    @TableField("grouping_id")
    private Integer groupingId;

    @ApiModelProperty(value = "用户id")
    @TableField("user_id")
    private Integer userId;

    @TableField(exist = false)
    private String userList;

    public String getUserList() {
        return userList;
    }

    public void setUserList(String userList) {
        this.userList = userList;
    }

    public Integer getGroupingUserId() {
        return groupingUserId;
    }

    public void setGroupingUserId(Integer groupingUserId) {
        this.groupingUserId = groupingUserId;
    }

    public Integer getGroupingId() {
        return groupingId;
    }

    public void setGroupingId(Integer groupingId) {
        this.groupingId = groupingId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
}
